'Copyright (c) 2008, Jonathan Allen
Imports ClrExtensions
Imports WrapNetflix
Imports ClrExtensions.Net.Rest


Public Class IndexEntry
    Inherits NetflixResource

    Public Sub New(ByVal connection As NetflixConnection, ByVal source As XElement)
        MyBase.New(connection, source)
    End Sub

    Public Overrides ReadOnly Property Title() As String
        Get
            Return Source.<title>.Value
        End Get
    End Property

    Public Overrides ReadOnly Property Id() As String
        Get
            Return Source.<id>.Value
        End Get
    End Property
End Class
